Make -init-buffer-hook a custom var
authorJustin Burkett <justin@burkett.cc>
Mon, 1 May 2017 12:44:32 +0000 (08:44 -0400)
committerJustin Burkett <justin@burkett.cc>
Mon, 1 May 2017 12:44:32 +0000 (08:44 -0400)
which-key.el

index 16b16c13480ac54a5b6fb5462d5e8ec90560af0c..2bc30ba8f49695818b218fd7bfcd77d8f2c01ff9 100644 (file)
@@ -467,8 +467,10 @@ it."
   :type 'boolean)
 
 ;; Hooks
-(defvar which-key-init-buffer-hook '()
-  "Hook run when which-key buffer is initialized.")
+(defcustom which-key-init-buffer-hook '()
+  "Hook run when which-key buffer is initialized."
+  :group 'which-key
+  :type 'hook)
 
 ;;;; Faces